package me.zhengjie.utils;

import lombok.Getter;

/**
 * 统一返回结果状态信息类
 */
@Getter
public enum ResultCodeEnum {


    SUCCESS(200,"成功"),
    FAIL(500, "失败");
    private final int result;

    private final String message;

    private ResultCodeEnum(int result, String message) {
        this.result = result;
        this.message = message;
    }
}
